package com.ruoyi.user.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 客服设置对象 t_customer_config
 * 
 * @author DEREK
 * @date 2024-10-15
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_customer_config")
public class CustomerConfig
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 上班时间 */
    @Excel(name = "上班时间")
    private String begTime;

    /** 下班时间 */
    @Excel(name = "下班时间")
    private String endTime;

    /** 星期 1=星期一 */
    @Excel(name = "星期 1=星期一")
    private String week;

    /** 自动发送的话术 */
    @Excel(name = "自动发送的话术")
    private String content;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String extend;

    private Date createTime;
    private Date updateTime;
    
    @TableField(exist = false)
    private String nickName;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("begTime", getBegTime())
            .append("endTime", getEndTime())
            .append("week", getWeek())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("extend", getExtend())
            .toString();
    }
}
